diff --git a/.github/workflows/linux-test.yml b/.github/workflows/linux-test.yml deleted file mode 100644 index d210b8a..0000000 --- a/.github/workflows/linux-test.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Linux Tests - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Cache - uses: actions/cache@v3.2.3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: linux cargo test - - uses: actions/checkout@v3 - - name: Install dependencies - run: | - sudo apt update - sudo apt install -y libgtk-3-dev - - name: Test - run: cargo test diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux.yml similarity index 87% rename from .github/workflows/linux-build.yml rename to .github/workflows/linux.yml index 3f2ccbf..1e40a3f 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux.yml @@ -1,4 +1,4 @@ -name: Linux Build +name: Linux on: push: @@ -22,7 +22,7 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: linux cargo build + key: linux - uses: actions/checkout@v3 - name: Install dependencies run: | @@ -30,3 +30,5 @@ jobs: sudo apt install -y libgtk-3-dev - name: Build run: cargo build + - name: Test + run: cargo test diff --git a/.github/workflows/macos-test.yml b/.github/workflows/macos-test.yml deleted file mode 100644 index 859121b..0000000 --- a/.github/workflows/macos-test.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: macOS Tests - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - - runs-on: macos-latest - - steps: - - name: Cache - uses: actions/cache@v3.2.3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: macos cargo test - - uses: actions/checkout@v3 - - name: Test - run: cargo test diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos.yml similarity index 84% rename from .github/workflows/macos-build.yml rename to .github/workflows/macos.yml index 63558e4..220e453 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos.yml @@ -1,4 +1,4 @@ -name: macOS Build +name: macOS on: push: @@ -22,7 +22,9 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: macos cargo build + key: macos - uses: actions/checkout@v3 - name: Build run: cargo build + - name: Test + run: cargo test diff --git a/.github/workflows/windows-test.yml b/.github/workflows/windows-test.yml deleted file mode 100644 index 9def36c..0000000 --- a/.github/workflows/windows-test.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Windows Tests - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - build: - - runs-on: windows-latest - - steps: - - name: Cache - uses: actions/cache@v3.2.3 - with: - path: | - ~\.cargo\registry - ~\.cargo\git - target - key: windows cargo test - - uses: actions/checkout@v3 - - name: Test - run: cargo test diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows.yml similarity index 84% rename from .github/workflows/windows-build.yml rename to .github/workflows/windows.yml index c917818..ec2439d 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows.yml @@ -1,4 +1,4 @@ -name: Windows Build +name: Windows on: push: @@ -22,7 +22,9 @@ jobs: ~\.cargo\registry ~\.cargo\git target - key: windows cargo build + key: windows - uses: actions/checkout@v3 - name: Build run: cargo build + - name: Test + run: cargo test diff --git a/README.md b/README.md index 034d40c..e3a0a28 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@