Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
phrp720 committed Nov 23, 2024
1 parent 962d903 commit c5d9e71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Docker Compose
- name: Set up Docker
uses: docker/setup-buildx-action@v2

- name: Start Prometheus with Docker Compose
Expand Down Expand Up @@ -42,13 +42,12 @@ jobs:

- name: Run Go tests
working-directory: aw-sync-agent
run: go test ./...
run: go test ./tests/

- name: Set up ActivityWatch and agent
working-directory: aw-sync-agent/tests
run: |
sudo apt-get update
sudo apt-get install -y wget jq
apt-get install -y wget jq
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/ActivityWatch/activitywatch/releases/latest | jq -r '.assets[] | select(.name | endswith("linux-x86_64.zip")) | .browser_download_url')
wget $LATEST_RELEASE_URL -O activitywatch-latest-linux-x86_64.zip
unzip activitywatch-latest-linux-x86_64.zip -d activitywatch
Expand Down

0 comments on commit c5d9e71

Please sign in to comment.