Skip to content

Commit

Permalink
fix with deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 13, 2024
1 parent 2f5424a commit e6c55c7
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ubuntu-jdk-21-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ubuntu-jdk-21-maven-
key: ubuntu-benchmark-jdk-21-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ubuntu-benchmark-jdk-21-maven-
- run: mvn clean install --errors --batch-mode -Deo.xslMeasuresFile=measures.csv
- run: |
set -x
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,7 @@ jobs:
echo multiplexing = false >> %USERPROFILE%\.cargo\config.toml
shell: cmd
- run: cargo --version
- uses: JesseTG/rm@v1.0.3
with:
path: ~/.m2/repository/org/eolang
- run: mvn clean install --errors --batch-mode
4 changes: 2 additions & 2 deletions .github/workflows/qulice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ubuntu-jdk-21-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ubuntu-jdk-21-maven-
key: ubuntu-qulice-jdk-21-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ubuntu-qulice-jdk-21-maven-
- run: mvn clean install -DskipTests -DskipITs -Pqulice --errors --batch-mode
2 changes: 1 addition & 1 deletion eo-maven-plugin/src/test/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
EO-Version: 0.0-SNAPSHOT
EO-Version: ${project.version}
EO-Revision: 1234567
EO-Dob: 2023-03-19T00:00:00
2 changes: 1 addition & 1 deletion eo-parser/src/test/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
EO-Version: 0.0.0
EO-Version: ${project.version}
EO-Revision: 1234567
EO-Dob: 2023-03-19T00:00:00
6 changes: 6 additions & 0 deletions eo-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ SOFTWARE.
<!-- version from parent POM -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-manifests</artifactId>
<!-- version from parent POM -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cactoos</groupId>
<artifactId>cactoos</artifactId>
Expand Down
5 changes: 3 additions & 2 deletions eo-runtime/src/test/java/integration/PhiUnphiIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
package integration;

import com.jcabi.manifests.Manifests;
import com.yegor256.MayBeSlow;
import com.yegor256.Mktmp;
import com.yegor256.MktmpResolver;
Expand Down Expand Up @@ -74,7 +75,7 @@ void runsTestsAfterPhiAndUnphi(final @Mktmp Path temp) throws IOException {
"eo-maven-plugin",
System.getProperty(
"eo.version",
"1.0-SNAPSHOT"
Manifests.read("EO-Version")
)
)
.execution("phi-unphi")
Expand Down Expand Up @@ -136,7 +137,7 @@ void runsTestsAfterPhiAndUnphi(final @Mktmp Path temp) throws IOException {
"eo-maven-plugin",
System.getProperty(
"eo.version",
"1.0-SNAPSHOT"
Manifests.read("EO-Version")
)
)
.execution("compile")
Expand Down
12 changes: 3 additions & 9 deletions eo-runtime/src/test/java/integration/SnippetIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
package integration;

import com.jcabi.manifests.Manifests;
import com.yegor256.MayBeSlow;
import com.yegor256.Mktmp;
import com.yegor256.MktmpResolver;
Expand Down Expand Up @@ -84,22 +85,15 @@ void runsAllSnippets(final String yml, final @Mktmp Path temp) throws IOExceptio
xtory.map().get("eo")
).getBytes(StandardCharsets.UTF_8)
);
f.dependencies().append(
"org.eolang",
"eo-runtime",
System.getProperty(
"eo.version",
"1.0-SNAPSHOT"
)
);
f.dependencies().appendItself();
f.build()
.plugins()
.append(
"org.eolang",
"eo-maven-plugin",
System.getProperty(
"eo.version",
"1.0-SNAPSHOT"
Manifests.read("EO-Version")
)
)
.execution("compile")
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/test/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
EO-Version: 0.0-SNAPSHOT
EO-Version: ${project.version}
EO-Revision: 1234567
EO-Dob: 2023-03-19T00:00:00

0 comments on commit e6c55c7

Please sign in to comment.